<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>{$head[title]}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="{$head[keywords]}" name="keywords" />
<meta content="{$head[description]}" name="description" />
<base href="{SITE_URL}" />
<link href="favicon.ico" rel="shortcut icon" />
<link href="../skin/style.css" rel="stylesheet" type="text/css" />
<link href="{SKIN_PATH}modal.css" rel="stylesheet" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="{$head[title]}" href="/rss.php?rssid={$catid}" />
<script language="JavaScript" src="misc/config.js"></script>
<script language="JavaScript" src="misc/jquery.min.js"></script>
<script language="JavaScript" src="misc/common.js"></script>
<script language="JavaScript" src="misc/validator.js"></script>
</head>
<body>

{template 'header.html'}

<div class="container">
	
    <div class="main">
    	
        
        {template 'menu.html','member'} 
        
        <div class="mod">
             
            <div class="body">
            	
                {if $domain}
                   个性网址：{$SETTING[siteurl]}space/{$domain}
                
                {else}
                <form name="myform" action="{url("?module=member&action=domain")}" enctype="multipart/form-data" method="post">
                  <table>
                  	<caption>最多15个字符，设置后不能修改</caption>
                    <tr>
                      <th width="60" height="30">用户名：</th>
                      <td width="" height="30">{$SETTING[siteurl]}space/<input type="text" msg="域名不得少于3个字符超过15个字符|" max="15" min="3" url="?module=member&action=checkdomain" datatype="limit|ajax" require="true" maxlength="20" size="16" value="{$domain}" id="domain" name="domain">/</td>
                    <tr>
                    <tr>
                      <th height="30"></th>
                      <td height="30"><label>
                        <input type="submit" name="dosubmit" id="button" value="确 定"  class="button button-primary"/>
                        <input type="reset" name="button2" id="button2" value="重 置" class="button" />
                      </label></td>
                    </tr>
                 </table>
              </form>  
              {/if}
              
            </div>
        </div> 

    </div>
    
    <div class="aside"> 
       {template "left.html", "member"}
    </div>
</div>


<script language="javascript">
$().ready(function() {
	$('form').checkForm(1);
});
</script>

{template 'footer.html'} 